#ifndef _QPUPUPBUTTON_H
#define _QPUPUPBUTTON_H


#include <QPushButton>


class QPopupButton : public QPushButton
{
    Q_OBJECT

public:
    QPopupButton(QWidget *parent = 0);
    QWidget *popupWidget();
    void setPopupWidget(QWidget *widget);

signals:

public slots:
    void show(bool bShow);

private:
    QWidget *m_pWidget;

};


#endif  // _QPUPUPBUTTON_H
